#include <stdio.h>

typedef struct {
    int x;
    int y;
    float radium;
} cycle;

void init( cycle *c);


void swap(int * a,int * b);

int main(void){

    cycle c1;

    init(&c1);

    printf("%4d %4d %6.2f",c1.x,c1.y,c1.radium);

    int a = 20;
    int b = 1000;

    printf("\n");

    swap(&a,&b);

    printf("a = %d  b = %d",a,b);

    return 0;
}

void init(cycle *c){

    c->x = 10;
    c->y=20;
    c->radium = 11.2;

}

void swap(int * a,int * b){

    int temp = *a;
    *a = *b;
    *b = temp;


}